﻿<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="ReportData" targetNamespace="http://tempuri.org/ReportData.xsd" xmlns:mstns="http://tempuri.org/ReportData.xsd" xmlns="http://tempuri.org/ReportData.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
  <xs:annotation>
    <xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
      <DataSource DefaultConnectionIndex="0" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
        <Connections>
          <Connection AppSettingsObjectName="Web.config" AppSettingsPropertyName="Default" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="Default (Web.config)" ParameterPrefix="@" PropertyReference="AppConfig.System.Configuration.ConfigurationManager.0.ConnectionStrings.Default.ConnectionString" Provider="System.Data.SqlClient" />
        </Connections>
        <Tables>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="sp_Report_ProductListTableAdapter" GeneratorDataComponentClassName="sp_Report_ProductListTableAdapter" Name="sp_Report_ProductList" UserDataComponentName="sp_Report_ProductListTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="Default (Web.config)" DbObjectName="Sovigaz.dbo.sp_Report_ProductList" DbObjectType="StoredProcedure" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <SelectCommand>
                  <DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
                    <CommandText>dbo.sp_Report_ProductList</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@LotID" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="LotCode" DataSetColumn="LotCode" />
              <Mapping SourceColumn="Date" DataSetColumn="Date" />
              <Mapping SourceColumn="Barcode" DataSetColumn="Barcode" />
              <Mapping SourceColumn="ProductCode" DataSetColumn="ProductCode" />
              <Mapping SourceColumn="Manufacture" DataSetColumn="Manufacture" />
              <Mapping SourceColumn="ManufacturedDate" DataSetColumn="ManufacturedDate" />
              <Mapping SourceColumn="PressureTest" DataSetColumn="PressureTest" />
              <Mapping SourceColumn="PressureLoad" DataSetColumn="PressureLoad" />
              <Mapping SourceColumn="Volume" DataSetColumn="Volume" />
              <Mapping SourceColumn="Weight" DataSetColumn="Weight" />
              <Mapping SourceColumn="Description" DataSetColumn="Description" />
              <Mapping SourceColumn="CategoryName" DataSetColumn="CategoryName" />
            </Mappings>
            <Sources />
          </TableAdapter>
        </Tables>
        <Sources />
      </DataSource>
    </xs:appinfo>
  </xs:annotation>
  <xs:element name="ReportData" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="true" msprop:Generator_DataSetName="ReportData" msprop:Generator_UserDSName="ReportData">
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="sp_Report_ProductList" msprop:Generator_TableClassName="sp_Report_ProductListDataTable" msprop:Generator_TableVarName="tablesp_Report_ProductList" msprop:Generator_TablePropName="sp_Report_ProductList" msprop:Generator_RowDeletingName="sp_Report_ProductListRowDeleting" msprop:Generator_RowChangingName="sp_Report_ProductListRowChanging" msprop:Generator_RowEvHandlerName="sp_Report_ProductListRowChangeEventHandler" msprop:Generator_RowDeletedName="sp_Report_ProductListRowDeleted" msprop:Generator_UserTableName="sp_Report_ProductList" msprop:Generator_RowChangedName="sp_Report_ProductListRowChanged" msprop:Generator_RowEvArgName="sp_Report_ProductListRowChangeEvent" msprop:Generator_RowClassName="sp_Report_ProductListRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="LotCode" msprop:Generator_ColumnVarNameInTable="columnLotCode" msprop:Generator_ColumnPropNameInRow="LotCode" msprop:Generator_ColumnPropNameInTable="LotCodeColumn" msprop:Generator_UserColumnName="LotCode">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="15" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Date" msprop:Generator_ColumnVarNameInTable="columnDate" msprop:Generator_ColumnPropNameInRow="Date" msprop:Generator_ColumnPropNameInTable="DateColumn" msprop:Generator_UserColumnName="Date" type="xs:dateTime" />
              <xs:element name="Barcode" msprop:Generator_ColumnVarNameInTable="columnBarcode" msprop:Generator_ColumnPropNameInRow="Barcode" msprop:Generator_ColumnPropNameInTable="BarcodeColumn" msprop:Generator_UserColumnName="Barcode" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ProductCode" msprop:Generator_ColumnVarNameInTable="columnProductCode" msprop:Generator_ColumnPropNameInRow="ProductCode" msprop:Generator_ColumnPropNameInTable="ProductCodeColumn" msprop:Generator_UserColumnName="ProductCode" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Manufacture" msprop:Generator_ColumnVarNameInTable="columnManufacture" msprop:Generator_ColumnPropNameInRow="Manufacture" msprop:Generator_ColumnPropNameInTable="ManufactureColumn" msprop:Generator_UserColumnName="Manufacture" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ManufacturedDate" msprop:Generator_ColumnVarNameInTable="columnManufacturedDate" msprop:Generator_ColumnPropNameInRow="ManufacturedDate" msprop:Generator_ColumnPropNameInTable="ManufacturedDateColumn" msprop:Generator_UserColumnName="ManufacturedDate" type="xs:dateTime" minOccurs="0" />
              <xs:element name="PressureTest" msprop:Generator_ColumnVarNameInTable="columnPressureTest" msprop:Generator_ColumnPropNameInRow="PressureTest" msprop:Generator_ColumnPropNameInTable="PressureTestColumn" msprop:Generator_UserColumnName="PressureTest" type="xs:decimal" minOccurs="0" />
              <xs:element name="PressureLoad" msprop:Generator_ColumnVarNameInTable="columnPressureLoad" msprop:Generator_ColumnPropNameInRow="PressureLoad" msprop:Generator_ColumnPropNameInTable="PressureLoadColumn" msprop:Generator_UserColumnName="PressureLoad" type="xs:decimal" minOccurs="0" />
              <xs:element name="Volume" msprop:Generator_ColumnVarNameInTable="columnVolume" msprop:Generator_ColumnPropNameInRow="Volume" msprop:Generator_ColumnPropNameInTable="VolumeColumn" msprop:Generator_UserColumnName="Volume" type="xs:decimal" minOccurs="0" />
              <xs:element name="Weight" msprop:Generator_ColumnVarNameInTable="columnWeight" msprop:Generator_ColumnPropNameInRow="Weight" msprop:Generator_ColumnPropNameInTable="WeightColumn" msprop:Generator_UserColumnName="Weight" type="xs:decimal" minOccurs="0" />
              <xs:element name="Description" msprop:Generator_ColumnVarNameInTable="columnDescription" msprop:Generator_ColumnPropNameInRow="Description" msprop:Generator_ColumnPropNameInTable="DescriptionColumn" msprop:Generator_UserColumnName="Description" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="200" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="CategoryName" msprop:Generator_ColumnVarNameInTable="columnCategoryName" msprop:Generator_ColumnPropNameInRow="CategoryName" msprop:Generator_ColumnPropNameInTable="CategoryNameColumn" msprop:Generator_UserColumnName="CategoryName">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
  </xs:element>
</xs:schema>